//===================================
//File: Body.h
//Body structure
//Name: Smirnova O.P.
//Date: 09.04.12, v.1.0
//===================================


#ifndef Body_H
#define Body_H

#include "Trapeze.h"
#include "Point.h"
#include <iostream>



//---------------------------------------------------------------------------
class Body{

Trapeze trapeze;

unsigned int id;
static unsigned int count;
static unsigned int count_all;

public:
//Конструктор без параметров
Body();
//Конструктор с параметрами
Body (Point C,  double h, double b,double c);

//Деструктор
~Body();

void moveTo( Point p);

void moveTodXdY( double  x, double y); 

void consSF(Point P);

Trapeze getTrapeze () ;

const unsigned int getID();
static unsigned int countObject();

};
#endif
